﻿<%@ Page Title="教师评价查询" Language="C#" MasterPageFile="~/Manage/ManageWeb.Master" AutoEventWireup="true" CodeBehind="TGradeList.aspx.cs" Inherits="无线打分网站.Manage.TGradeList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
    <script language="javascript" type="text/javascript" src="../Scripts/My97DatePicker/WdatePicker.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="style1">
        <tr>
            <td align="center" colspan="5" style="font-size: x-large">
                教师评价查询</td>
        </tr>
        <tr>
            <td>
                教师姓名：
                <asp:DropDownList ID="DropDownList1" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;&nbsp;&nbsp;
                课程名：<asp:DropDownList ID="DropDownList2" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                教室：<asp:DropDownList ID="DropDownList3" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            开始时间：<asp:TextBox ID="TextBox2" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',autoPickDate:true,readOnly:true})" class="Wdate"></asp:TextBox>
            </td>
            <td>
                结束时间：<asp:TextBox ID="TextBox1" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',autoPickDate:true,readOnly:true})" class="Wdate"></asp:TextBox>   
            </td>
            <td align="right">               
              <asp:Button ID="Button1" runat="server" style="margin-left: 0px" Text="查询" 
                    Width="186px" onclick="Button1_Click" />
            </td>
        </tr>
    </table>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    CellPadding="4" EnableModelValidation="True" Font-Size="0.9em" 
    ForeColor="#333333" Width="100%">
    <AlternatingRowStyle BackColor="White" />
    <Columns>
        <asp:BoundField DataField="Teacher" HeaderText="教师" />
        <asp:BoundField DataField="ShiYan" HeaderText="课程" />
        <asp:BoundField DataField="Room" HeaderText="教室" />
        <asp:BoundField DataField="Grade5" HeaderText="5分" />
        <asp:BoundField DataField="Grade4" HeaderText="4分" />
        <asp:BoundField DataField="Grade3" HeaderText="3分" />
        <asp:BoundField DataField="Grade2" HeaderText="2分" />
        <asp:BoundField DataField="Grade1" HeaderText="1分" />     
        <asp:BoundField DataField="GradeSum" HeaderText="总分" />  
        <asp:BoundField DataField="AverageGrade" HeaderText="平均分" />    
    </Columns>
    <EmptyDataTemplate>
        当前无任何评价结果，请更改查询条件
    </EmptyDataTemplate>
    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
</asp:GridView>
    </asp:Content>
